package com.meteor.user.service;

import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.user.entity.SysDepartment;
import com.meteor.user.entity.SysPost;
import com.meteor.user.query.SysDepartmentQuery;
import com.meteor.user.query.SysPostAndOrgQuery;
import com.meteor.user.query.SysPostQuery;
import com.meteor.user.vo.SysDepartmentVO;
import com.meteor.user.vo.SysPostVO;

import java.util.List;

/**
 * 岗位管理
 *
 * @author lynn
 * @date 2024/1/03
 */
public interface SysDepartmentService extends BaseService<SysDepartment> {

    PageResult<SysDepartmentVO> page(SysDepartmentQuery query);

    List<SysDepartmentVO> getList();

    void save(SysDepartmentVO vo);

    void update(SysDepartmentVO vo);

    void delete(List<String> idList);

    List<SysDepartmentVO> departmentMerchantOrg(SysPostAndOrgQuery query);
}